<template>
    <el-result title="404" subTitle="抱歉，请求错误">
        <template slot="icon">
            <el-image src="http://space.ymmm.love/BJ.jpg"></el-image>
        </template>
        <template slot="extra">
            <el-button @click="back" type="primary" size="medium">返回首页</el-button>
        </template>
    </el-result>
</template>

<script>
    export default {
        methods: {
            back() {
                this.$router.push({name: 'Home'})
            }
        }
    }
</script>

<style scoped lang="less">
    /deep/ .el-image__inner {
        width: 60vh;
    }
</style>